home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16387 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.urz.uni-heidelberg.de!usenet
  2. From: pstarzet@ix.urz.uni-heidelberg.de (Paul Starzetz)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: 64K segment limit:Newbie seeks enlightenm
  5. Date: 10 Apr 1996 16:53:58 GMT
  6. Organization: University of Heidelberg, Germany
  7. Distribution: world
  8. Message-ID: <4kgp36$5hp@sun0.urz.uni-heidelberg.de>
  9. References: <Pine.ULT.3.91.960407231001.3447A-100000@essex.UCHSC.edu>
  10. Reply-To: pstarzet@ix.urz.uni-heidelberg.de
  11. NNTP-Posting-Host: aixterm7.urz.uni-heidelberg.de
  12.  
  13. Hallo,
  14.  
  15. because Windows 3.1 is a 16 bit system, you can use only <64K in a simple segment. The solution is similiar as the Dos one: use a 32 bit extender!
  16. Under Dos, there is a variety of 32-bit extenders like TNT, PharLap or DOS4GW, which I personally prefer (because it was included with my Watcom C++, "royalty free"). Similiary you can use Watcom's own WINDOWS EXTENDER, which allows you to have a whole 32 bit Windows environment, eg.  int is then 32 bits wide, you don't want huge or far pointers, etc.!!!
  17. The extender is also included with Watcom C++ 10.5 (simply create a Win386 target...)
  18.  
  19.  
  20.  
  21.  
  22.